<script>
export default {
  name: "NotFound",
};
</script>

<template>
  <div class="pc-container">
    <div>
      <img class="img"
           src="@/assets/images/404.png"
           alt="404 Not Found"/>
    </div>
    <div class="text">您访问的页面不存在，请确认链接是否正确</div>
    <div class="title">
      <h2>求职训练平台ToB业务</h2>
      <h3>Author：TangChen</h3>
      <h3>技术架构选型</h3>
      <h4>前端：Vue3 + Element-UI Plus + Vue Router + Pinia</h4>
      <h4>后端：SpringBoot + SpringCloudAlibaba + MySQL + Redis + RocketMQ + ElasticSearch + ShardingSphere + XXL-JOB +
        Minio </h4>
    </div>
    <router-link class="link" to="/">回到首页</router-link>
  </div>
</template>

<style scoped>
.container,
.pc-container {
  margin-top: 13vh;
  background: white;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.text {
  color: #333333;
  line-height: 28px;
}

.container .text {
  margin-top: 16px;
  font-size: 3vw;
}

.pc-container .text {
  font-size: 18px;
}

.pc-container .img {
  height: 200px;
}

.container .img {
  width: 50vw;
}

textarea {
  width: 90vw;
}

.link {
  margin-top: 30px;
  padding: 10px 20px;
  color: white;
  background-color: #8dbff6;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.link:hover {
  background-color: #5aa2f1;
  cursor: pointer;
}

/* Title section styling */
.title {
  text-align: center;
  margin-top: 20px;
  padding: 20px;
  background-color: #f8f9fb;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 80%;
  max-width: 600px;
  line-height: 1.6;
  color: #333;
}

.title h2 {
  font-size: 1.5rem;
  color: #333;
  font-weight: bold;
  margin-bottom: 10px;
}

.title h3 {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 8px;
  font-weight: 500;
}

.title h4 {
  font-size: 1rem;
  color: #666;
  margin-bottom: 6px;
  font-weight: 400;
}
</style>
